<script>
	export default {
		onLaunch: function() {
			uni.showShareMenu({
			  withShareTicket: true, // 是否携带分享转发信息
			  success: function () {
			    console.log("展示分享菜单成功");
			  },
			  fail: function () {
			    console.log("展示分享菜单失败");
			  }
			})
			wx.loadFontFace({
				family: 'AlibabaPuHuiTi-2-45-Light',
				global: true,
				source: 'url("https://api.9hkj.net/images/AlibabaSansTC-45.woff")', //此处需替换为真实字体地址
				// source: 'url("https://api.9hkj.net/images/DIN Medium.ttf")', //此处需替换为真实字体地址
				// source: 'url("https://qiniu-app.qtshe.com/DIN%20Medium.ttf")', //此处需替换为真实字体地址
				success(res) {
					console.log(res.status)
				},
				fail: function(res) {
					console.log(res)
				},
				complete: function(res) {
					console.log(res)
				}
			});
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	@import url("static/iconfont/iconfont.css");

	html,
	body {
		/* font-family: AlibabaPuHuiTi-2-45-Light; */
		height: 100%;
	}

	/*每个页面公共css */
	/* @import '@/static/font_4408432_pi2wogvkxxi/iconfont.css'; */
</style>